void init_file();

void close_file();

void write_to_log(char* type, char* user, char* value);

void write_buff_log(char* type, char* value, int size);
